package concurrent;

/**
 * @program: study2025
 * @description: 多线程- 继承Thread
 * @author: liuChangFu
 * @data: 2025-02-10 15:03
 **/
public class ExtendsThread extends Thread{

    public ExtendsThread(){
        System.out.println("多线程 - 继承Thread - 构造");
    }


    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
        System.out.println(Thread.currentThread().getThreadGroup());
        System.out.println("继承Thread");
    }
}
